// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeOptimizeAdviceByDBARequest.h"

namespace aliyun { namespace Rds {

DescribeOptimizeAdviceByDBARequest::DescribeOptimizeAdviceByDBARequest() : RpcAcsRequest("Rds", "2014-08-15", "DescribeOptimizeAdviceByDBA") {
}

int64 DescribeOptimizeAdviceByDBARequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeOptimizeAdviceByDBARequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeOptimizeAdviceByDBARequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeOptimizeAdviceByDBARequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeOptimizeAdviceByDBARequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeOptimizeAdviceByDBARequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeOptimizeAdviceByDBARequest::GetDBInstanceId(void) const {
  return DBInstanceId_;
}
void DescribeOptimizeAdviceByDBARequest::SetDBInstanceId(const string& DBInstanceId) {
  DBInstanceId_ = DBInstanceId;
  PutQueryParameter("DBInstanceId", DBInstanceId_);
}

int DescribeOptimizeAdviceByDBARequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeOptimizeAdviceByDBARequest::SetPageSize(int PageSize) {
  if(PageSize < 30) {
    return false;
  }
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

int DescribeOptimizeAdviceByDBARequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeOptimizeAdviceByDBARequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  if(PageNumber > 2147483647) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

const string& DescribeOptimizeAdviceByDBARequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeOptimizeAdviceByDBARequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Rds {

// end of file 
